# 查找当前目录下的所有源文件
# 并将名称保存到 DIR_examples_SRCS 变量
#aux_source_directory(. DIR_LCD_DRV_SRCS)

#file(GLOB_RECURSE DIR_PORTING_SRCS "*.c" "*.cpp")

#include_directories(../freertos/include)
#include_directories(../freertos/portable/ThirdParty/GCC/RP2040/include)

# 生成链接库
add_library(PORTING 
            lv_port_disp.c
            lv_port_indev.c
            )
            
#target_link_libraries(lcd Config LCD OLED Infrared Icm20948 GUI Fonts  pico_stdlib hardware_spi hardware_i2c hardware_pwm)
#target_link_libraries(LCD_DRV PUBLIC  pico_stdlib hardware_spi hardware_i2c hardware_pwm)
#target_link_libraries(LCD_DRV PUBLIC Config LCD)
target_include_directories(PORTING PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

